Documents for PDF, .NET Edition Documentation
TrueForAll Method (StructList<T>)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > StructList<T> Class : TrueForAll Method
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions to check against the elements.
Determines whether every element in the StructList<T> matches the conditions defined by the specified predicate.
Syntax
'Declaration
 
Public Function TrueForAll( _
   ByVal match As GrapeCity.Documents.Common.StructPredicate(Of T) _
) As System.Boolean
public System.bool TrueForAll( 
   GrapeCity.Documents.Common.StructPredicate<T> match
)

Parameters

match
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions to check against the elements.

Return Value

true if every element in the StructList<T> matches the conditions defined by the specified predicate; otherwise, false. If the list has no elements, the return value is true.
See Also

Reference

StructList<T> Class
StructList<T> Members